package com.cloudlinkscm.jedis.config;

import com.cloudlinkscm.loms.framework.core.pojo.Language;
import com.cloudlinkscm.loms.framework.dao.BizDataInterface;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author : tac
 * @date : 2017/5/27
 */

@Configuration
public class BeanConfigs {

    @Bean
    public BizDataInterface getBizDataInterfaceBean(){
        return new BizDataInterface() {
            public String currentUserId() {
                return "tac";
            }

            public String currentUserTenantId() {
                return "taccisum";
            }

            public Language currentUserLanguage() {
                return Language.ZH;
            }
        };
    }
}
